Actually commit leak fix I just told Steve I committed before lunch. {blush}
authorrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 25 Aug 2013 19:29:07 +0000 (19:29 +0000)
committerrobertlipe <robertlipe@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Sun, 25 Aug 2013 19:29:07 +0000 (19:29 +0000)
gpsbabel/gpx.cc

index dbd4b92d22690b5f1f66649643c0cb0ca5e70e4d..dc2689dab02fc77b659225f9cfa5b1624e773aad 100644 (file)
@@ -1101,7 +1101,7 @@ gpx_end(const QString& el)
   case tt_wpt_sym:
   case tt_rte_rtept_sym:
   case tt_trk_trkseg_trkpt_sym:
-    wpt_tmp->icon_descr = xstrdup(CSTR(cdatastr));
+    wpt_tmp->icon_descr = cdatastr;
     break;
   case tt_wpt_time:
   case tt_trk_trkseg_trkpt_time: